package com.example.zjsr.service.impl;

import com.example.zjsr.dao.TmpU3dDao;
import com.example.zjsr.domain.TmpU3d;
import com.example.zjsr.service.TmpU3dServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: TmpU3dServerImpl
 * @Description TODO
 * @Author liuzhaobo
 * @Date 2022/9/20 0020 11:17
 * @Version 1.0
 **/

@Service
public class TmpU3dServerImpl implements TmpU3dServer{


    @Autowired
    private TmpU3dDao tmpU3dDao;

    @Override
    public TmpU3d seletU3d(Integer userid) {
        return tmpU3dDao.seletU3d(userid);
    }

    @Override
    public boolean insertU3d(Integer userid, String steps) {
        return tmpU3dDao.insertU3d(userid , steps);
    }

    @Override
    public boolean updateU3d(Integer userid, String lastU3d) {
        return tmpU3dDao.updateU3d(userid,lastU3d);
    }

    @Override
    public String selectStepById(Integer userid) {
        return tmpU3dDao.selectStepById(userid);
    }

    @Override
    public void delectTmpU3d(Integer userid) {
         tmpU3dDao.delectTmpU3d(userid);
    }
}
